/**
 * 功能描述
 */
define(function (require, exports, module) {
    //引入视图基类
    var ELView = require("elview");

    //assets
    var template = require("./assets/tpl/cardispatch_main.tpl");
    require("./assets/css/cardispatch_main.css");

    //business
    //component

    var carDispatchSubnavComp = require("./component/carDispatchSubnavComp.js");
    var carDispatchGridComp = require("./component/carDispatchGridComp.js");
//    var carDispatchFgridComp = require("./component/carDispatchFgridComp.js");
    var carDispatchFormComp = require("./component/carDispatchFormComp.js");
    //constant

    //handler

    //store

    var App = ELView.extend({
        attrs: {
            template: template
        },
        initComponent: function (params, widget) {

        	carDispatchSubnavComp.initComponent(params, widget);
        	carDispatchGridComp.initComponent(params, widget);
//        	carDispatchFgridComp.initComponent(params, widget);
        	carDispatchFormComp.initComponent(params, widget);
        },
        afterInitComponent: function (params, widget) {
            
        }
    });

    module.exports = App;
});
